package com.yc.edu.utils;

import java.util.UUID;

/**
 * @author YC
 * @version 1.0
 * 用于生成帖子id
 */
public class UUIDUtil {
    public static String uuid() {
        // 默认是 xxxx-yyyy-zzzz-ddsa
        return UUID.randomUUID().toString().replace("-","");
    }
}
